package io.gitee.zhangbinhub.acp.cloud.conf

import io.gitee.zhangbinhub.acp.cloud.constant.AcpCloudConstant
import io.gitee.zhangbinhub.acp.cloud.constant.AcpCloudLogConstant
import org.noear.solon.annotation.Configuration
import org.noear.solon.annotation.Inject

/**
 * 日志服务客户端配置
 *
 * @since JDK 17
 */
@Inject(value = "\${${AcpCloudConstant.LOG_SERVER_CLIENT_PROPERTIES_PREFIX}}", required = false, autoRefreshed = true)
@Configuration
class AcpCloudLogServerClientConfiguration {

    /**
     * 是否启用日志服务客户端，默认：false
     */
    var enabled = false

    /**
     * 日志类型，默认："ALL"
     */
    var logType = AcpCloudLogConstant.DEFAULT_TYPE

}
